import java.util.Scanner;

public class demo14 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int a=sc.nextInt();
        int[]  arr={1,2,4,7,11,15};
        first:
        for (int i = 0; i < arr.length; i++) {
            for (int j = i+1; j < arr.length; j++) {
                if(arr[i]+arr[j]==a){
                    System.out.println(arr[i]+"+"+arr[j]+"="+a);
                    break first;
                }
            }
            if (i==arr.length-1){
                System.out.println("没有符合条件的结果");
            }
        }
    }
}
